package com.ktjy.mapper.user;

import com.ktjy.pojo.Movie;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MovieMapper {
    List<Movie> selectMovie(@Param("pageBegin")int pageBegin, @Param("pageSize")int pageSize);
    int insertMovie(Movie movie);
    int updateMovie(Movie movie);
    int deleteMovie(int id);
    int selectMovieCount();
    Movie selectMovieById(int movieId);
}
